import { _decorator, Component, Node, RigidBody2D, Vec2 } from 'cc';
const { ccclass, property } = _decorator;

@ccclass('MainBall')
export class MainBall extends Component {
    start() {
        this.node.getComponent(RigidBody2D).linearVelocity = new Vec2(25,15)
    }

    update(deltaTime: number) {
        
    }
}


